﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Model
{
    /// <summary>
    /// 商品套餐表
    /// </summary>
    public partial class corecmsfoodpack
    {
        /// <summary>
        /// 序列
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "id", IsPrimaryKey = true)]
        public Int64 id { get; set; }

        /// <summary>
        /// 品牌id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "corpId", IsNullable = false)]
        public Int32 corpId { get; set; }

        /// <summary>
        /// 门店id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "storeId", IsNullable = false)]
        public Int32 storeId { get; set; }

        /// <summary>
        /// 商品id
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "foodId", IsNullable = false)]
        public Int64 foodId { get; set; }

        /// <summary>
        /// 桌位名称
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "name", IsNullable = true)]
        public String name { get; set; }

        /// <summary>
        /// 搭配方式
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "selectType")]
        public Int32 selectType { get; set; }

        /// <summary>
        /// 锅底类型
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "plateType", IsNullable = true)]
        public Int32? plateType { get; set; }

        /// <summary>
        /// 起始数量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "quantityStar")]
        public Int32 quantityStar { get; set; }

        /// <summary>
        /// 截止数量
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "quantityEnd")]
        public Int32 quantityEnd { get; set; }

        /// <summary>
        /// 是否可选择相同商品
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isSelectSame")]
        public Boolean isSelectSame { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "isDelete")]
        public Boolean isDelete { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "sort")]
        public Int32 sort { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SqlSugar.SugarColumn(ColumnName = "modifyTime")]
        public Int64 modifyTime { get; set; }
    }
}
